import { createSlice } from '@reduxjs/toolkit'
let Splice = createSlice({
    name: 'csy',
    initialState: {
        list: []
    },
    reducers: {
        addSplice: (state, action) => {
            state.list = action.payload
        }
    },
})

export default Splice
export let { addSplice } = Splice.actions
